package com.google.inject;

import java.lang.reflect.Member;

public class ExternalContextPublic<T> extends ExternalContext<T> {
	ExternalContext<T> externalContext;

	public ExternalContextPublic(ExternalContext<T> externalContext,
			Member member, int paramterIndex, Key<T> key, InjectorImpl injector) {
		super(member, paramterIndex, key, injector);
		this.externalContext = externalContext;
	}

	public boolean equals(Object obj) {
		return externalContext.equals(obj);
	}

	public Injector getInjector() {
		return externalContext.getInjector();
	}

	public Key getKey() {
		return externalContext.getKey();
	}

	public Member getMember() {
		return externalContext.getMember();
	}

	public int getParameterIndex() {
		return externalContext.getParameterIndex();
	}

	public int hashCode() {
		return externalContext.hashCode();
	}

	public String toString() {
		return externalContext.toString();
	}

}
